package com.hibase.quartz.entity.vo;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuyunlei
 * @since 2020-11-18
 */
@Data
@HibaseValid
@ApiModel(value="MdsJobLogListVO对象", description="列表展示VO")
public class MdsJobLogListVO {

    @ApiModelProperty(value = "job_id")
    private String jobId;

    @ApiModelProperty(value = "任务名称")
    private String jobName;

    @ApiModelProperty(value = "任务最终执行区域")
    private String jobFinalExecutionArea;

    @ApiModelProperty(value = "TRUE or FALSE")
    private String isSuccess;

    @ApiModelProperty(value = "错误信息")
    private String errorMsg;

    @ApiModelProperty(value = "任务开始时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date startTime;

    @ApiModelProperty(value = "任务完成时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date completeTime;

    @ApiModelProperty(value = "耗时")
    private BigDecimal timeConsuming;

    @ApiModelProperty(value = "任务类型")
    private String jobType;

    @ApiModelProperty(value = "备注")
    private String remarks;

    private String id;

    @ApiModelProperty(value = "是否已删除（0 正常，1 已删除）")
    private Boolean beDeleted;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
